interface CardMSg{
    tName?:string
    roomNo:string
    checkin:string
    mobile:string
    endtime?:string
    idcard?:string
    source:string
    roomTypeName?:string
    realName?:string
    roomName?:string
    checkout:string
    cardNum:string
    cmdInfo:string
    subRoomNo?:string
    isHourlyRoom:number
    bName:string
    rId:string
    roomId:string,
    id?:number
    isGroup?:number
  }
    interface getAllRoom {
    floor: string
    layer: number;
    list: any;
    Roomgan?: number;
    Roomlei?: number;
    roomName?: string;
    dingdan?: string;
    id?: number;
    user?: Array<object>;
    zifangjin?: Array<string | any>;
    status: string
    checkInPeople: string
    tName: string
    checkInStartTime?:string
    checkInEndTime?:string
  }

  interface ChangeRoomType{
    room_id: any,
    status: number
  }
  interface getroom{
    Params?:string //下拉框的值
    id?:any // 状态
    name?:string  // 输入框
    b_id:string
  }
  interface UserFaka{
    cardNum:string
    checkin:Date
    id:string
    mobile:string
    realName:string
    roomNo:string
    status:string
    cmdInfo:string[]
  }
  interface roomTypeNum{
    name:string
    num:number
    RoomNum:number
  }
  interface RoomJIa{
    name:string
    num:number
    RoomNum:string
  }

  interface RoomList{

    bName:string
    buildingId:number
    checkInEndTime?:string
    checkInIdCard?:string
    checkInMobile?:string
    checkInPeople?:string
    checkInSource?:string
    checkInStartTime?:string
    childRooms?:any
    expire_time:Date
    floor:string
    lockType:number
    roomId:string
    roomName:string
    roomNo:string
    layer:string
    list:string[]
    id:number
    status:string
    tName:string
    isGroup:number
  }

  interface RoomType{
    area:string
    name:string
    price:string
    remark:string
  }

  interface ReadCard{
    cardclass:string
    uuid:string
    isclear:string
  }

  interface UserData {
    username: string;
    phone: string;
    idcard: string;
    cardId: string;
    roomId: string;
    roomNo: string
    status: string
    cardNum: string
  }


  interface UserInfo {
    username: string;
    phone: string;
    idcard: string;
    cardId: string;
    roomId: string;
    Checktime?: number
    roomNo: string
    childRooms: string[]
  }
  interface userprops {
    userMsg: UserInfo[] | any;
    ChildRoom: string[];
    setsendMsg: (event: object) => void
    setType: (event: string) => void
    setGetcardMsg: (event: object) => void
    handleOk: () => void
    setchildRoomNum: (Event: string) => void
    setGETID: (Event: string) => void
  }


  interface stateObj{
    T1:number;
    T2:number;
    T3:number;
    T4:number;
    T5:number;
    T6:number;
    T7:number;
    T8:number;
    day?:string;
    TRoomTimer?:string
    uuid?:string
    roomlist?:string
    begintime?:string
    roomid?:string
    groupid?:string
    cardclass?:string
  }